package org.extremengine.shape;

import org.extremengine.common.Point;
import org.extremengine.common.Velocity;

/**
 * 
 * @author yuxing
 *
 */
public class Line extends Shape {
	private LineFunction function;

	public Line(LineFunction function) {
		super();
		this.function = function;
	}

	@Override
	public Point getBarycenter() {
		throw new UnsupportedOperationException();
	}

	@Override
	public void transform(double deltax, double deltay) {
		throw new UnsupportedOperationException();
	}

	@Override
	public void transform(Velocity v, long timePeirod) {
		throw new UnsupportedOperationException();
	}

	public LineFunction getFunction() {
		return function;
	}

	public void setFunction(LineFunction function) {
		this.function = function;
	}

	@Override
	public Shape clone() {
		throw new UnsupportedOperationException();
	}

}
